//
//  NYTitleViewSearchBar.h
//  Nooryes
//
//  Created by baken on 2020/3/10.
//  Copyright © 2020 MyApp. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^SearchBlock)(NSString *_Nullable);

NS_ASSUME_NONNULL_BEGIN

@interface NYTitleViewSearchBar : UIView

@property (nonatomic, copy) SearchBlock searchBlock;

@property(nonatomic, assign) CGSize intrinsicContentSize;

@property (nonatomic,strong) UISearchBar *searchBar;

@end

NS_ASSUME_NONNULL_END
